package com.googlecode.dgwt.client.dijit.base.state;

import com.googlecode.dgwt.client.dijit.Dijit;


/**
 * @author      Wellington Tadeu dos Santos
 * @since       DGWT v0.01
 */
public class ReadOnlyState extends WidgetState {

    private static ReadOnlyState instance;
    
    
    public static ReadOnlyState get() {
        if (instance == null) {
            instance = new ReadOnlyState();
        }
        return instance;
    }
    
    
    private ReadOnlyState() {
    }
    
    @Override
    protected String getDependentStyleClass() {
        return Dijit.getTheme().getReadOnlyName();
    }

}
